import 'dart:math';
import 'package:dio/dio.dart';
import 'package:animation/http/dio_instance.dart';

Future<Response> updateApp() => DioInstance.instance().get(
      path:
          'https://gitee.com/zsnoin-can/new-wall-paper-apk/raw/master/version.json',
      param: {
        'random': Random().nextDouble(),
      },
    );
